object MainFm: TMainFm
  Left = 249
  Top = 120
  HorzScrollBar.Smooth = True
  Caption = 'PID'
  ClientHeight = 707
  ClientWidth = 986
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Chart1: TChart
    Left = 0
    Top = 0
    Width = 986
    Height = 169
    BackWall.Brush.Color = clWhite
    BackWall.Brush.Style = bsClear
    Legend.Visible = False
    Title.Text.Strings = (
      ''
      'PID Simulation')
    BottomAxis.Title.Caption = 'Cycle'
    Chart3DPercent = 1
    LeftAxis.Title.Caption = 'PV'
    View3D = False
    View3DOptions.Zoom = 102
    Align = alTop
    TabOrder = 0
    ExplicitWidth = 792
    ColorPaletteIndex = 13
    object Series1: TLineSeries
      Marks.Arrow.Visible = True
      Marks.Callout.Brush.Color = clBlack
      Marks.Callout.Arrow.Visible = True
      Marks.Visible = False
      SeriesColor = clRed
      Brush.BackColor = clDefault
      Pointer.InflateMargins = True
      Pointer.Style = psRectangle
      Pointer.Visible = False
      XValues.Name = 'X'
      XValues.Order = loAscending
      YValues.Name = 'Y'
      YValues.Order = loNone
    end
    object Series2: TLineSeries
      Marks.Arrow.Visible = True
      Marks.Callout.Brush.Color = clBlack
      Marks.Callout.Arrow.Visible = True
      Marks.Visible = False
      SeriesColor = clBlue
      Brush.BackColor = clDefault
      Pointer.InflateMargins = True
      Pointer.Style = psRectangle
      Pointer.Visible = False
      XValues.Name = 'X'
      XValues.Order = loAscending
      YValues.Name = 'Y'
      YValues.Order = loNone
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 325
    Width = 986
    Height = 382
    Align = alBottom
    TabOrder = 1
    ExplicitTop = 184
    ExplicitWidth = 792
    object BitBtn1: TBitBtn
      Left = 250
      Top = 323
      Width = 88
      Height = 25
      Caption = #21551#21160'PID'
      TabOrder = 0
      OnClick = BitBtn1Click
    end
    object BitBtn2: TBitBtn
      Left = 466
      Top = 323
      Width = 88
      Height = 25
      Caption = #20572#27490'PID'
      Enabled = False
      TabOrder = 1
      OnClick = BitBtn2Click
    end
    object GroupBox2: TGroupBox
      Left = 1
      Top = 1
      Width = 984
      Height = 72
      Align = alTop
      Caption = 'Model  '
      TabOrder = 2
      ExplicitWidth = 790
      object RadioButtonModel2: TRadioButton
        Left = 215
        Top = 16
        Width = 209
        Height = 20
        Caption = 'G(s)=523500/(s^3+87.35s^2+10470s)    '
        TabOrder = 0
        OnClick = RadioButtonModel2Click
      end
      object RadioButtonModel1: TRadioButton
        Left = 40
        Top = 16
        Width = 121
        Height = 20
        Caption = 'G(s)=400/(s^2+50s)   '
        Checked = True
        TabOrder = 1
        TabStop = True
        OnClick = RadioButtonModel1Click
      end
      object RadioButtonModel3: TRadioButton
        Left = 440
        Top = 16
        Width = 113
        Height = 20
        Caption = 'e^-80s/(60s+1)   '
        TabOrder = 2
        OnClick = RadioButtonModel2Click
      end
      object RadioButton1: TRadioButton
        Left = 40
        Top = 42
        Width = 169
        Height = 20
        Caption = 'G(s)=500/(s^5+56s^2+108s)    '
        TabOrder = 3
        OnClick = RadioButtonModel2Click
      end
      object RadioButton2: TRadioButton
        Left = 215
        Top = 42
        Width = 145
        Height = 20
        Caption = 'G(s)=(1-e^-s)/(s^2*(s+1)) '
        TabOrder = 4
        OnClick = RadioButtonModel2Click
      end
      object RadioButton3: TRadioButton
        Left = 440
        Top = 42
        Width = 257
        Height = 20
        Caption = 'G(s)=s/((s/3.98+1)*(s^2/50.1^2+0.392s/50.1+1))'
        TabOrder = 5
        OnClick = RadioButtonModel2Click
      end
    end
    object Button1: TButton
      Left = 681
      Top = 323
      Width = 88
      Height = 25
      Caption = #36864#20986
      TabOrder = 3
      OnClick = Button1Click
    end
    object GroupBox8: TGroupBox
      Left = 1
      Top = 73
      Width = 984
      Height = 48
      Align = alTop
      Caption = 'EQ_MODE '
      TabOrder = 4
      ExplicitWidth = 790
      object RadioButton4: TRadioButton
        Left = 16
        Top = 16
        Width = 89
        Height = 17
        Caption = 'Algotithm1'
        Checked = True
        TabOrder = 0
        TabStop = True
      end
      object RadioButton5: TRadioButton
        Left = 128
        Top = 17
        Width = 89
        Height = 17
        Caption = 'Algotithm2'
        TabOrder = 1
      end
      object RadioButton6: TRadioButton
        Left = 255
        Top = 17
        Width = 89
        Height = 17
        Caption = 'Algotithm3'
        TabOrder = 2
      end
      object RadioButton7: TRadioButton
        Left = 368
        Top = 17
        Width = 89
        Height = 17
        Caption = 'Algotithm4'
        TabOrder = 3
      end
    end
    object StatusBar1: TStatusBar
      Left = 1
      Top = 362
      Width = 984
      Height = 19
      Panels = <
        item
          Text = 'PID'#25511#21046#22120#20223#30495#36719#20214'V1.0'
          Width = 500
        end>
      ExplicitWidth = 790
    end
    object Panel2: TPanel
      Left = 1
      Top = 121
      Width = 984
      Height = 176
      Align = alTop
      TabOrder = 6
      ExplicitWidth = 790
      object GroupBox1: TGroupBox
        Left = 8
        Top = 6
        Width = 513
        Height = 107
        Caption = 'PID Controller Parameters'
        TabOrder = 0
        object Label2: TLabel
          Left = 145
          Top = 64
          Width = 19
          Height = 13
          Caption = 'Kp  '
        end
        object Label3: TLabel
          Left = 265
          Top = 24
          Width = 15
          Height = 13
          Caption = 'Ti  '
        end
        object Label4: TLabel
          Left = 385
          Top = 24
          Width = 19
          Height = 13
          Caption = 'Td  '
        end
        object Label5: TLabel
          Left = 14
          Top = 24
          Width = 39
          Height = 13
          Caption = 'TC(ms)  '
        end
        object Label1: TLabel
          Left = 145
          Top = 24
          Width = 31
          Height = 13
          Caption = 'Delta  '
        end
        object Label6: TLabel
          Left = 265
          Top = 64
          Width = 18
          Height = 13
          Caption = 'Ki   '
        end
        object Label7: TLabel
          Left = 385
          Top = 64
          Width = 19
          Height = 13
          Caption = 'Kd  '
        end
        object EditKp: TEdit
          Left = 175
          Top = 60
          Width = 73
          Height = 21
          Enabled = False
          TabOrder = 0
          Text = 'EditKp'
          OnKeyPress = EditKpKeyPress
        end
        object EditTi: TEdit
          Left = 300
          Top = 20
          Width = 73
          Height = 21
          TabOrder = 1
          Text = 'EditTi'
          OnChange = EditTiChange
          OnKeyPress = EditTiKeyPress
        end
        object EditTd: TEdit
          Left = 425
          Top = 20
          Width = 73
          Height = 21
          TabOrder = 2
          Text = 'EditTd'
          OnKeyPress = EditTdKeyPress
        end
        object EditT: TEdit
          Left = 56
          Top = 20
          Width = 73
          Height = 21
          TabOrder = 3
          Text = 'EditT'
          OnChange = EditTChange
          OnKeyPress = EditTKeyPress
        end
        object EditDelta: TEdit
          Left = 175
          Top = 20
          Width = 73
          Height = 21
          TabOrder = 4
          Text = 'EditDelta'
          OnChange = EditDeltaChange
          OnKeyPress = EditKpKeyPress
        end
        object EditKi: TEdit
          Left = 300
          Top = 60
          Width = 73
          Height = 21
          Enabled = False
          TabOrder = 5
          Text = 'EditKi'
          OnKeyPress = EditTiKeyPress
        end
        object EditKd: TEdit
          Left = 425
          Top = 60
          Width = 73
          Height = 21
          Enabled = False
          TabOrder = 6
          Text = 'EditKd'
          OnKeyPress = EditTdKeyPress
        end
      end
      object GroupBox5: TGroupBox
        Left = 8
        Top = 119
        Width = 513
        Height = 49
        Caption = 'PHHA PHIA PLOA PLLA HY '
        TabOrder = 1
        object Edit1: TEdit
          Left = 8
          Top = 16
          Width = 73
          Height = 21
          TabOrder = 0
          Text = '0.95'
        end
        object Edit2: TEdit
          Left = 87
          Top = 16
          Width = 73
          Height = 21
          TabOrder = 1
          Text = '0.9'
        end
        object Edit3: TEdit
          Left = 166
          Top = 16
          Width = 73
          Height = 21
          TabOrder = 2
          Text = '0.1'
        end
        object Edit4: TEdit
          Left = 256
          Top = 16
          Width = 73
          Height = 21
          TabOrder = 3
          Text = '0.05'
        end
        object Edit5: TEdit
          Left = 344
          Top = 16
          Width = 73
          Height = 21
          TabOrder = 4
          Text = '0.02'
        end
      end
      object GroupBox4: TGroupBox
        Left = 655
        Top = 116
        Width = 113
        Height = 51
        Caption = 'D_R  '
        TabOrder = 2
        object RadioButtonD_R1: TRadioButton
          Left = 16
          Top = 16
          Width = 49
          Height = 17
          Caption = '+'
          Checked = True
          TabOrder = 0
          TabStop = True
        end
        object RadioButtonD_R2: TRadioButton
          Left = 64
          Top = 16
          Width = 41
          Height = 17
          Caption = '-'
          TabOrder = 1
          OnClick = RadioButtonSV2Click
        end
      end
      object GroupBox7: TGroupBox
        Left = 527
        Top = 6
        Width = 241
        Height = 49
        Caption = 'RL RH EU'
        TabOrder = 3
        object Edit6: TEdit
          Left = 8
          Top = 16
          Width = 65
          Height = 21
          TabOrder = 0
          Text = '0'
        end
        object Edit7: TEdit
          Left = 88
          Top = 16
          Width = 65
          Height = 21
          TabOrder = 1
          Text = '30'
        end
        object Edit8: TEdit
          Left = 168
          Top = 16
          Width = 65
          Height = 21
          TabOrder = 2
          Text = 'C'
        end
      end
      object GroupBox6: TGroupBox
        Left = 527
        Top = 61
        Width = 241
        Height = 49
        Caption = 'OL OH '
        TabOrder = 4
        object EditOL: TEdit
          Left = 8
          Top = 16
          Width = 73
          Height = 21
          TabOrder = 0
          Text = '-100'
        end
        object EditOH: TEdit
          Left = 128
          Top = 16
          Width = 73
          Height = 21
          TabOrder = 1
          Text = '100'
        end
      end
      object GroupBox3: TGroupBox
        Left = 527
        Top = 116
        Width = 113
        Height = 51
        Caption = 'SV  '
        TabOrder = 5
        object RadioButtonSV1: TRadioButton
          Left = 16
          Top = 16
          Width = 49
          Height = 17
          Caption = '1'
          TabOrder = 0
        end
        object RadioButtonSV2: TRadioButton
          Left = 64
          Top = 16
          Width = 41
          Height = 17
          Caption = '10'
          Checked = True
          TabOrder = 1
          TabStop = True
          OnClick = RadioButtonSV2Click
        end
      end
    end
  end
  object Timer1: TTimer
    Enabled = False
    Interval = 1
    OnTimer = Timer1Timer
    Left = 240
    Top = 600
  end
end
